@import '../../assets/scss/common.scss';


@import "~taro-ui/dist/style/components/float-layout.scss";
@import "~taro-ui/dist/style/components/drawer.scss";

@import './common.scss';

$bottom-height : 120px;

.page-view{
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.blank{
  background-color: $page-background-color;
  height: 10px;
}




@media screen {
    .port-option-list{
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-gap: 30px;
        @media screen and (max-width:740px) {
            grid-gap: 20px;
        }

        .port-option{
            @include Option;

            &.disabled{
                background-color: rgb(250, 250, 250);
                box-shadow: none;
                .wrap{
                    color: rgb(153, 153, 153);
                }
            }
        }

        .port-status{
            font-size: 24px;
            text-align: center;
            margin-top: 6px;
            color: #999;

            &.free{
                color: rgb(16, 134, 0);
            }

            &.charging{
                color: #ee2d2d;
            }
            
        }
    }

}


.footer-nav{
    margin-top: 20px;
    background-color: #fff;
    z-index: 3;
    display: flex;
    .amount{
        line-height: $bottom-height;
        flex: 1;
        position: relative;
        &::before{
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 2px;
            background-color: $page-background-color;;
        }
    }

    .confirm-button{
        min-width: $bottom-height * 1.5;
        line-height: $bottom-height;
        padding:0 20px;
        background-color: $color-primary;
        color: #fff;
        text-align: center;

    }
}

.chargeFee{
    padding:0 15px;
}

.chargeFee-content{
    color: #999;
    padding-left: 1em;
    margin-top: 10px;
}


.device-offline{
    background-color: $color-danger;
    color: #fff;
    text-align: center;
    padding: $space 0;
}

.success-image{
    width: 200px;
    margin: auto;
}

.btn{
    display: inline-block;
    line-height: 70px;
    width: 160px;
    background-color: #ccc;
    border-radius: 35px;
    color: #fff;
    font-size: 24px;
    &.primary{
        background-color: $color-primary;
    }
}